const router = require('koa-router')();
const chat = require('../controllers/chat');

router.prefix('/chat');

router.post('/sendMessage', chat.sendMessage);
router.post('/getMessage', chat.getMessage);

module.exports = router;